Running Multiple Functions Sequentially Within forEach in TypeScript